package cn.eonshine.cuba.inf.modular.biz.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

/**
 * <p>
 * 主Tanker GPS
 * </p>
 *
 * @author Alan
 * @since 2018-07-28
 */
@TableName("inf_tanker_gps_master")
public class TankerGpsMaster extends Model<TankerGpsMaster> {

    private static final long serialVersionUID = 1L;

    @TableId("vessel_id")
    private BigDecimal vesselId;
    private String callsign;
    @TableField("cn_iso2")
    private String cnIso2;
    @TableField("cn_name")
    private String cnName;
    @TableField("detail_url")
    private String detailUrl;
    @TableField("image_url")
    private String imageUrl;
    @TableField("imo_number")
    private BigDecimal imoNumber;
    @TableField("mmsi_number")
    private BigDecimal mmsiNumber;
    private String name;
    @TableField("staticmap_url")
    private String staticmapUrl;
    private String type;
    @TableField("type_class")
    private String typeClass;
    @TableField("type_code")
    private String typeCode;
    /**
     * Data collection status 数据采集状态
     */
    @TableField("LSMS_UPDATE")
    private BigDecimal lsmsUpdate;
    /**
     * Data input datetime 数据更新时间
     */
    @TableField("DATA_INPUT_DATETIME")
    private Date dataInputDatetime;
    public BigDecimal getVesselId() {
        return vesselId;
    }

    public void setVesselId(BigDecimal vesselId) {
        this.vesselId = vesselId;
    }

    public String getCallsign() {
        return callsign;
    }

    public void setCallsign(String callsign) {
        this.callsign = callsign;
    }

    public String getCnIso2() {
        return cnIso2;
    }

    public void setCnIso2(String cnIso2) {
        this.cnIso2 = cnIso2;
    }

    public String getCnName() {
        return cnName;
    }

    public void setCnName(String cnName) {
        this.cnName = cnName;
    }

    public String getDetailUrl() {
        return detailUrl;
    }

    public void setDetailUrl(String detailUrl) {
        this.detailUrl = detailUrl;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public BigDecimal getImoNumber() {
        return imoNumber;
    }

    public void setImoNumber(BigDecimal imoNumber) {
        this.imoNumber = imoNumber;
    }

    public BigDecimal getMmsiNumber() {
        return mmsiNumber;
    }

    public void setMmsiNumber(BigDecimal mmsiNumber) {
        this.mmsiNumber = mmsiNumber;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getStaticmapUrl() {
        return staticmapUrl;
    }

    public void setStaticmapUrl(String staticmapUrl) {
        this.staticmapUrl = staticmapUrl;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getTypeClass() {
        return typeClass;
    }

    public void setTypeClass(String typeClass) {
        this.typeClass = typeClass;
    }

    public String getTypeCode() {
        return typeCode;
    }

    public void setTypeCode(String typeCode) {
        this.typeCode = typeCode;
    }

    @Override
    protected Serializable pkVal() {
        return this.vesselId;
    }

	public BigDecimal getLsmsUpdate() {
		return lsmsUpdate;
	}

	public void setLsmsUpdate(BigDecimal lsmsUpdate) {
		this.lsmsUpdate = lsmsUpdate;
	}

	public Date getDataInputDatetime() {
		return dataInputDatetime;
	}

	public void setDataInputDatetime(Date dataInputDatetime) {
		this.dataInputDatetime = dataInputDatetime;
	}

	@Override
    public String toString() {
        return "TankerGpsMaster{" +
        ", vesselId=" + vesselId +
        ", callsign=" + callsign +
        ", cnIso2=" + cnIso2 +
        ", cnName=" + cnName +
        ", detailUrl=" + detailUrl +
        ", imageUrl=" + imageUrl +
        ", imoNumber=" + imoNumber +
        ", mmsiNumber=" + mmsiNumber +
        ", name=" + name +
        ", staticmapUrl=" + staticmapUrl +
        ", type=" + type +
        ", typeClass=" + typeClass +
        ", typeCode=" + typeCode +
        "}";
    }
}
